package com.nimitz.modules.approval.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.nimitz.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @ClassName ApprovalProcedure
 * @Author FuCun
 * @Date 2021-08-17-14:45
 * @PackageName com.nimitz.modules.approval.domain
 * @Description 审批流表
 * @Version 1.0.0
 */
@TableName("approval_procedure")
@ApiModel(value="ApprovalProcedure对象", description="审批流表")
public class ApprovalProcedure extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 审批流id
     */
    @ApiModelProperty(value = "审批流id")
    @TableId(value = "procedure_id", type = IdType.AUTO)
    private Long procedureId;

    /**
     * 审批流编号
     */
    @ApiModelProperty(value = "审批流编号")
    private Long procedureNo;

    /**
     * 审批流名称
     */
    @ApiModelProperty(value = "审批流名称")
    private String procedureName;

    /**
     * 状态标志（0代表未使用，1代表正在使用，2代表已废弃）
     */
    @ApiModelProperty(value = "状态标志（0代表未使用，1代表正在使用，2代表已废弃）")
    private String procedureStatus;

    /**
     * 删除标志（0代表存在 2代表删除）
     */
    @ApiModelProperty(value = "删除标志（0代表存在 2代表删除）")
    private String delFlag;



    public Long getProcedureId() {
        return procedureId;
    }

    public void setProcedureId(Long procedureId) {
        this.procedureId = procedureId;
    }
    public Long getProcedureNo() {
        return procedureNo;
    }

    public void setProcedureNo(Long procedureNo) {
        this.procedureNo = procedureNo;
    }
    public String getProcedureName() {
        return procedureName;
    }

    public void setProcedureName(String procedureName) {
        this.procedureName = procedureName;
    }
    public String getProcedureStatus() {
        return procedureStatus;
    }

    public void setProcedureStatus(String procedureStatus) {
        this.procedureStatus = procedureStatus;
    }
    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }



    @Override
    public String toString() {
        return "ApprovalProcedure{" +
            "procedureId=" + procedureId +
            ", procedureNo=" + procedureNo +
            ", procedureName=" + procedureName +
            ", procedureStatus=" + procedureStatus +
            ", delFlag=" + delFlag +

        "}";
    }
}
